<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
				<li>
				<span style="padding:0px;font-weight: bold;">
					批总金额#number(order.totalAmount.toDouble() / 100,"##,###,##0.00")元,批总笔数#(order.totalNumber)笔
				</span>
				</li>
		</ul>
	</div>

	<div class="grid">
	<table class="table" style="width: 98%" targetType="navTab" asc="asc" desc="desc" layoutH="86">
		<thead>
			<tr>
				<th width="150">批次号</th>
				<th width="80">户名</th>
				<th width="130">银行卡号</th>
				<th width="100">金额(元)</th>
				<th width="100">开户银行名称</th>
				<th width="80">收款方类型</th>
				<th width="80">状态</th>
				<th width="140">创建时间</th>
				<th width="140">交易时间</th>
				<th width="200">响应信息</th>
			</tr>
		</thead>
		<tbody>
			#for(item:items)
				<tr>
					<td>#(item.batchNo)</td>
					<td>#(item.accountName)</td>
					<td>#(item.accountNumber)</td>
					<td>#number(item.amount.toDouble() / 100,"##,###,##0.00")</td>
					<td>#(item.bankName)</td>
					<td>
						#if(item.isCompany)
							企业
						#else
							个人
						#end
					</td>
					<td>
						#if(item.orderStatus == 'CO')
							待确认
						#end
						#if(item.orderStatus == 'IP')
							<font color="blue">交易处理中</font>
						#end
						#if(item.orderStatus == 'TS')
							<font color="green">交易成功</font>
						#end
						#if(item.orderStatus == 'TF')
							<font color="red">交易失败</font>
						#end
					</td>
					<td>
						#(item.createDateTime)
					</td>
					<td>
						#(item.tradeDateTime)
					</td>
					<td>#(item.respCode) - #(item.respMsg)</td>
				</tr>
			#end
		</tbody>
	</table>
	</div>
	<div class="formBar">
			<ul>
				#if(order.isConfirm == false)
					<li>
						<form action="merch/payorder/confirm?batchNo=#(order.batchNo)" onsubmit="return validateCallback(this, dialogAjaxDone);">
							<div class="button"><div class="buttonContent">
								<button type="submit">确认无误</button>
							</div></div>
						</form>
					</li>
				#end
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
				</li>
			</ul>
		</div>
</div>

